/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ejercicio5;

/**
 *
 * @author David
 */
public class Main
{

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args)
    {
        Arbol arbol1 = new Arbol(4);
        Arbol arbol2 = new Arbol("Roble");
        Arbol arbol3 = new Arbol();
        Arbol arbol4 = new Arbol(5,"Pino");
        arbol1.mostrar(arbol1.toString());
        arbol2.mostrar(arbol2.toString());
        arbol3.mostrar(arbol3.toString());
        arbol4.mostrar(arbol4.toString());
    }
}
